#ifndef GAMESHOWWID_H
#define GAMESHOWWID_H

#include <QWidget>
#include "./socket/sockclient.h"
namespace Ui {
class GameShowWid;
}

class GameShowWid : public QWidget
{
    Q_OBJECT
public:
    explicit GameShowWid(QWidget *parent = 0);
    ~GameShowWid();
    bool eventFilter  (QObject *obj, QEvent *evt);
    void setSocket    (shared_ptr<SockClient> client);
private slots:
    void on_toolButTwoWar_clicked();
    void on_toolButAiWar_clicked(bool checked);
    void on_toolButNetWar_clicked();
    void on_toolButLoad_clicked();
    void on_toolButWon_clicked();
    void on_toolButton_clicked();
signals:
    void rollBackLoading();
private:
    Ui::GameShowWid *ui;
    shared_ptr<SockClient> m_client;
};

#endif // GAMESHOWWID_H
